import React from 'react';
import ReactDOM from 'react-dom';
import registerServiceWorker from './registerServiceWorker';
import { HashRouter, withRouter } from 'react-router-dom'
import { Provider } from 'react-redux'
import store, { deal } from './store'
import './index.css';
import 'antd/dist/antd.min.css'
import App from './App/App';

let DealApp = deal(App);
let RouterDealApp = withRouter(DealApp)
ReactDOM.render(
	<HashRouter>
		<Provider store={store}>
			<RouterDealApp></RouterDealApp>
		</Provider>
	</HashRouter>
,document.getElementById('root'));
registerServiceWorker();
